package practice;

public class StringFormat1 {

        public static void printDouble(double x){

            String f=String.format("%%%ff",x);
            System.out.printf(f);
        }

    public static void main(String[] args) {
        printDouble(9.3);
    }

}
